package org.jeecg.basic.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 产线路由配置
 * @Author: LiCY
 * @Date:   2023-08-03
 * @Version: V1.0
 */
@Data
@TableName("mes_routing_cfg")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mes_routing_cfg对象", description="产线路由配置")
public class MesRoutingCfg implements Serializable {
    private static final long serialVersionUID = 1L;

	/**产线或产线组*/
	@Excel(name = "产线或产线组", width = 15, dictTable = "mes_line_cfg", dicText = "LINE", dicCode = "LINE")
	@Dict(dictTable = "mes_line_cfg", dicText = "LINE", dicCode = "LINE")
    @ApiModelProperty(value = "产线或产线组")
    @MppMultiId
    private String line;
	/**工位*/
	@Excel(name = "工位", width = 15)
    @ApiModelProperty(value = "工位")
    @MppMultiId
    private String op;
	/**描述*/
	@Excel(name = "描述", width = 15)
    @ApiModelProperty(value = "描述")
    private String description;
	/**路由名称*/
	@Excel(name = "路由名称", width = 15)
    @ApiModelProperty(value = "路由名称")
    @MppMultiId
    private String routename;
	/**前置工位
(semicolon separated)*/
	@Excel(name = "前置工位", width = 15)
    @ApiModelProperty(value = "前置工位")
    private String preop;
	/**前置工位状态The result of  PREOP
1: Pass
0: NOT-Pass*/
	@Excel(name = "前置工位状态")
    @ApiModelProperty(value = "前置工位状态")
    @Dict(dicCode = "routing_state")
    private String preopState;
	/**后置NEXT OP
(semicolon separated)*/
	@Excel(name = "后置NEXTOP", width = 15)
    @ApiModelProperty(value = "后置NEXT OP")
    private java.lang.String nextop;
	/**工序类型*/
	@Excel(name = "工序类型", width = 15)
    @ApiModelProperty(value = "工序类型")
    @Dict(dicCode = "routing_code")
    private java.lang.String segmentCode;
	/**路由类型*/
	@Excel(name = "路由类型", width = 15)
    @ApiModelProperty(value = "路由类型")
    @Dict(dicCode = "routing_status")
    private java.lang.String status;
	/**是否启用*/
	@Excel(name = "是否启用", width = 15)
    @ApiModelProperty(value = "是否启用")
    @Dict(dicCode = "isEnabled")
    private java.lang.String enable;
	/**更新时间*/
	@Excel(name = "更新时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date ctime;
}
